package cn.iocoder.yudao.module.exam.controller.admin.examType.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 试题管理-题库类型新增/修改 Request VO")
@Data
public class ExamTypeSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12121")
    private Long id;

    @Schema(description = "题库名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "MYSQL OCP题库")
    @NotEmpty(message = "题库名称不能为空")
    private String name;

    @Schema(description = "题库描述", example = "MYSQL OCP题库")
    private String remark;

    @Schema(description = "题库图标")
    private String icon;

    @Schema(description = "题库优先级：0最高", example = "0")
    private Long priority;

}